package za.ac.cput.peterjohn.DesignPatternPrincipals.Structural;

import za.ac.cput.peterjohn.DesignPatternPrincipals.Structural.Composite.Model.Composite;


public class CompositeFactory 
{
    private static Composite composite = null;

    public static Composite createComposite() 
    {
        if(composite == null)
            composite = new Composite();
        
        return composite;
    }
}